Term Graph Representations for Cyclic Lambda-Terms

نویسندگان

  • Clemens Grabmayer
  • Jan Rochel
چکیده

We study various representations for cyclic λ -terms as higher-order or as first-order term graphs. We focus on the relation between ‘λ -higher-order term graphs’ (λ -ho-term-graphs), which are firstorder term graphs endowed with a well-behaved scope function, and their representations as ‘λ -termgraphs’, which are plain first-order term graphs with scope-delimiter vertices that meet certain scoping requirements. Specifically we tackle the question: Which class of first-order term graphs admits a faithful embedding of λ -ho-term-graphs in the sense that (i) the homomorphism-based sharing-order on λ -ho-term-graphs is preserved and reflected, and (ii) the image of the embedding corresponds closely to a natural class (of λ -term-graphs) that is closed under homomorphism? We systematically examine whether a number of classes of λ -term-graphs have this property, and we find a particular class of λ -term-graphs that satisfies this criterion. Term graphs of this class are built from application, abstraction, variable, and scope-delimiter vertices, and have the characteristic feature that the latter two kinds of vertices have back-links to the corresponding abstraction. This result puts a handle on the concept of subterm sharing for higher-order term graphs, both theoretically and algorithmically: We obtain an easily implementable method for obtaining the maximally shared form of λ -ho-term-graphs. Furthermore, we open up the possibility to pull back properties from first-order term graphs to λ -ho-term-graphs, properties such as the complete lattice structure of bisimulation equivalence classes with respect to the sharing order.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

On Logic Programming Representations of Lambda Terms: de Bruijn Indices, Compression, Type Inference, Combinatorial Generation, Normalization

We introduce a compressed de Bruijn representation of lambda terms and define its bijections to standard representations. Compact combinatorial generation algorithms are given for several families of lambda terms, including open, closed, simply typed and linear terms as well as type inference and normal order reduction algorithms. We specify our algorithms as a literate Prolog program. In the p...

متن کامل

The Main Eigenvalues of the Undirected Power Graph of a Group

The undirected power graph of a finite group $G$, $P(G)$, is a graph with the group elements of $G$ as vertices and two vertices are adjacent if and only if one of them is a power of the other. Let $A$ be an adjacency matrix of $P(G)$. An eigenvalue $lambda$ of $A$ is a main eigenvalue if the eigenspace $epsilon(lambda)$ has an eigenvector $X$ such that $X^{t}jjneq 0$, where $jj$ is the all-one...

متن کامل

Term Graph Rewriting

ion operator, 38 acyclic, 48 algebraic specification, 3 alpha conversion of cyclic terms, 44 annotated path, 47 ARS with finite information content, 105 with information content, 105 ARSI, 105 bisimilarity of terms, 92 context, 43 context restricted rewrite system, 39 continuity substitutive -, 134 syntactic -, 134 CRS rewrite rule, 38 cyclic term, 43 dag, 6 directed acyclic graph, 6 directed s...

متن کامل

Reformulated F-index of graph operations

The first general Zagreb index is defined as $M_1^lambda(G)=sum_{vin V(G)}d_{G}(v)^lambda$. The case $lambda=3$, is called F-index. Similarly, reformulated first general Zagreb index is defined in terms of edge-drees as $EM_1^lambda(G)=sum_{ein E(G)}d_{G}(e)^lambda$ and the reformulated F-index is $RF(G)=sum_{ein E(G)}d_{G}(e)^3$. In this paper, we compute the reformulated F-index for some grap...

متن کامل

Cyclic Lambda Calculi

We precisely characterize a class of cyclic lambda-graphs, and then give a sound and complete axiomatization of the terms that represent a given graph. The equational axiom system is an extension of lambda calculus with the letrec construct. In contrast to current theories , which impose restrictions on where the rewriting can take place, our theory is very liberal, e.g., it allows rewriting un...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2013